package com.opennews.openplatform.config;

import com.opennews.openplatform.myspringbootmvccore.helper.HttpRequestHepler;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HttpRequestHeplerConfig {
    @Bean
    public HttpRequestHepler httpRequestHepler(HttpServletRequest request) {
        return new HttpRequestHepler(request);
    }
}
